-- GENERATED SPELL FOR [Greymist Warrior] --


function spell0_2205(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(5242,pUnit)
pUnit:RegisterEvent('Sorts_2205', 570, 1)
end

function Sorts_2205(pUnit, Event)
local choix_sorts_2205 = math.random(0, 0)
if choix_sorts_2205 == 0 then
pUnit:RegisterEvent('spell0_2205', 1, 1)
end
end

function mob2205_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2205', math.random(1500, 3000), 1)
end

function mob2205_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2205_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2205_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2205, 1, 'mob2205_Action')
RegisterUnitEvent(2205, 2, 'mob2205_Leave')
RegisterUnitEvent(2205, 3, 'mob2205_Kill')
RegisterUnitEvent(2205, 4, 'mob2205_Die')
